Skip to main content

Select Item

AutomatR.Windows.Activities.SelectItem

The "Select Item" activity in AutomatR is designed for UI Automation within Windows applications. It enables the selection of an item from a combo box or list box, enhancing the capabilities of automation workflows.

Properties

NameDescription
Input
ElementSelect the browse button to indicate the element on the app with the help of the Window selector window.
ItemEnter the string text for the item value of the dropdown or listbox.
SelectorWindows Selector - Editor for selecting UI elements within the Windows application.
Misc
Display NameProvides a customizable name for the activity displayed in the workflow. The display name enhances clarity and organization within the automation project. String variables containing the desired display name.
Optional
DelaySpecifies the amount of time (in seconds) to wait before starting the "Select Item" activity. This can be useful for handling synchronization issues. Integer variables containing the delay duration. Ex.: If the amount of time is 1000 milliseconds or 1 sec, i.e., 1.
TimeoutEnter the time in seconds (e.g., 5) for the activity to be executed before throwing an exception. If not provided, the default timeout value is used.

How to use:

  1. Drag and drop the "Select Item" activity onto the workflow.
  2. Configure the properties by providing either the Element or Selector, specifying the Item to be selected.
  3. Optionally, configure the Delay and Timeout properties.
  4. Execute the workflow to perform the item selection within the Windows application.

Example: Consider an example where the "Select Item" activity is used to choose the item "Option 2" from a combo box:

Select Item:
Element: [Selector indicating the combo box]
Item: "Option 2"
Delay: 2
Timeout: 10

In this example, the activity selects "Option 2" from the specified combo box element, introducing a 2-second delay and a timeout of 10 seconds for the operation.